<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://lib.baomitu.com/jquery/2.2.4/jquery.js"></script>
    <script src="https://lib.baomitu.com/axios/latest/axios.js"></script>
</head>

<body>
    <script>
        // $.ajax({
        //     url: "http://39.103.151.139:8000/cart"
        // }).then(data => {
        //     console.log(data)
        // })
        // axios({
        //     url: "http://39.103.151.139:8000/cart"
        // }).then(data => {
        //     console.log(data);
        // })
        fetch('http://39.103.151.139:8000/cart')
            .then(res => {
                console.log(res)
                // console.log(res.json())
                return res.json()
            })
            .then(data => {
                console.log(data);
            })
    </script>
</body>

</html>